Show:

Streams form Class

Generates a form with inputs that modify various streams

Constructor

Streams form

(
  • $options
)

Parameters:

  • $options Array

    An associative array of parameters, containing:

    • [fields] Array optional

      an associative array of ($id => $fieldinfo) pairs, where $id is the id to append to the tool's id, to generate the input's id, and $fieldinfo is either an associative array with the following fields, or a regular array consisting of fields in the following order:

      1. "publisherId": Required. The id of the user publishing the stream
      2. "streamName": Required. The name of the stream
      3. "field": The stream field to edit, or "attribute:$attributeName" for an attribute.
      4. "input": The type of the input (@see Q_Html::smartTag())
      5. "attributes": Additional attributes for the input
      6. "options": options for the input (if type is "select", "checkboxes" or "radios")
      7. "params": array of extra parameters to Q_Html::smartTag

Item Index